package cn.zcf.basic.service;

import cn.zcf.basic.query.BaseQuery;
import cn.zcf.basic.utils.PageList;

import java.util.List;

public interface IBaseService<T> {

    List<T> loadAll();
    T loadById(Long id);
    void remove(Long id);
    void add(T t);
    void update(T t);
    PageList<T> pageQuery(BaseQuery query);

    void patchDel(List<Long> ids);
}
